runtime.piController.errIntegral (field)

6 uses

	runtime (current package)
		mgcpacer.go#L1291: 	errIntegral float64 // Integral of the error from t=0 to now.
		mgcpacer.go#L1312: 	rawOutput := prop + c.errIntegral
		mgcpacer.go#L1332: 		c.errIntegral += (c.kp*period/c.ti)*(setpoint-input) + (period/c.tt)*(output-rawOutput)
		mgcpacer.go#L1333: 		if isInf(c.errIntegral) || isNaN(c.errIntegral) {
		mgcpacer.go#L1347: 	c.errIntegral = 0